Bump pytest-asyncio and pluggy to fix warnings #323
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The 3.14 tests show:
And:
=========================================================== warnings summary =========================================================== tests/test_add_to_pydotorg.py::test_slug_for[3.9.0a0-390-a0] /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:1153: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 return asyncio.get_event_loop_policy() tests/test_buildbotapi.py::test_buildbotapi_authenticate tests/test_buildbotapi.py::test_buildbotapi_all_builders tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch tests/test_buildbotapi.py::test_buildbotapi_stable_builders tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False] /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:844: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 _restore_event_loop_policy(asyncio.get_event_loop_policy()), tests/test_buildbotapi.py::test_buildbotapi_authenticate tests/test_buildbotapi.py::test_buildbotapi_all_builders tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch tests/test_buildbotapi.py::test_buildbotapi_stable_builders tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False] /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:1125: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16 asyncio.set_event_loop_policy(new_loop_policy) tests/test_buildbotapi.py::test_buildbotapi_authenticate tests/test_buildbotapi.py::test_buildbotapi_all_builders tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch tests/test_buildbotapi.py::test_buildbotapi_stable_builders tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False] /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:1126: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 loop = asyncio.get_event_loop_policy().new_event_loop() tests/test_buildbotapi.py::test_buildbotapi_authenticate tests/test_buildbotapi.py::test_buildbotapi_all_builders tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch tests/test_buildbotapi.py::test_buildbotapi_stable_builders tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False] /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:859: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 policy = asyncio.get_event_loop_policy() tests/test_buildbotapi.py::test_buildbotapi_authenticate tests/test_buildbotapi.py::test_buildbotapi_all_builders tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch tests/test_buildbotapi.py::test_buildbotapi_stable_builders tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False] /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:904: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 policy = asyncio.get_event_loop_policy() tests/test_buildbotapi.py::test_buildbotapi_authenticate tests/test_buildbotapi.py::test_buildbotapi_all_builders tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch tests/test_buildbotapi.py::test_buildbotapi_stable_builders tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False] /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:928: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16 asyncio.set_event_loop_policy(previous_policy) tests/test_buildbotapi.py::test_buildbotapi_authenticate tests/test_buildbotapi.py::test_buildbotapi_all_builders tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch tests/test_buildbotapi.py::test_buildbotapi_stable_builders tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True] tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False] /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:940: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 policy = asyncio.get_event_loop_policy() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ...Bump with these commands to fix: